<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
	<head>
		<title><s:text name="page.title.prefix" /> <s:property value="#pageTitle" /></title>
		<jsp:include page="/include/scripts.jsp" />
		<script language="javascript" src="<%=request.getContextPath()%>/region/js/region.js"></script>
	</head>
	<body>
		<center>
			<div id="html_container">
				<jsp:include page="/include/page_header.jsp" />
				<div id="main" class="layout_full">
					<div class="simplebox">
						<div class="htitle">
							<h1>
								设置地域
							</h1>
						</div>
						<form action="<%=request.getContextPath()%>/setRegion.do" method="post" id="regionForm">
							<div id="region">
								选择地域：
								<font>省:<select name="province" onchange="javascript:getRegion('region', 'city',$(this).val());$('#regionId').val('');"></select> </font>
								<font class="hidden">市:<select name="city" onchange="javascript:getRegion('region', null,$(this).val());$('#regionId').val($(this).val());"></select> </font>
							</div>
							<script>initRegion("region", "<s:property value="currentRegion.id"/>","province","city");</script>
							<input type="hidden" name="regionId" id="regionId" value="<s:property value="currentRegion.id"/>" />
							<br />
							<input type="button" class="btn_blue_3" value="设置" onclick="javascript:setRegion();" />
						</form>
					</div>
				</div>
			</div>
		</center>
		<jsp:include page="/include/page_footer.jsp" />
	</body>

</html>